﻿using System.Xml.Serialization;

namespace ThirdPartyLib.RazorEngineTemplatingDemo.Models
{
    [XmlRoot("address")]
    public class Address
    {
        [XmlAttribute("number")]
        public int Number { get; set; }

        [XmlAttribute("street")]
        public string Street { get; set; }
        
        [XmlAttribute("city")]
        public string City { get; set; }

        [XmlAttribute("state")]
        public State State { get; set; }
    }
}